package business.report.impl;

import business.report.MedicalInstrumentsProducctionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.MedicalInstrumentsProducction;
import report.domain.MedicalInstrumentsProducctionCriteria;
import report.mapper.MedicalInstrumentsProducctionMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "miProducctionService")
public class MedicalInstrumentsProducctionServiceImpl implements MedicalInstrumentsProducctionService{
    @Autowired
    MedicalInstrumentsProducctionMapper medicalInstrumentsProducctionMapper;

    @Override
    public List<MedicalInstrumentsProducction> getMedicalInstrumentsProducction() {
        MedicalInstrumentsProducctionCriteria criteria = new MedicalInstrumentsProducctionCriteria();
        criteria.createCriteria().getAllCriteria();
        return medicalInstrumentsProducctionMapper.selectByExample(criteria);
    }
}
